package com.jacobson.huobi.di.modules

import com.jacobson.core.di.annotation.ActivityScope
import com.jacobson.huobi.mvp.contract.ForgetContract
import com.jacobson.huobi.mvp.model.ForgetModel
import com.jacobson.huobi.mvp.presenter.ForgetPresenter
import dagger.Module
import dagger.Provides

@Module
class ForgetActivityModule(
    private val view: ForgetContract.View
) {
    @Provides
    @ActivityScope
    fun provideView() = view

    @Provides
    @ActivityScope
    fun providePresenter(presenter: ForgetPresenter): ForgetContract.Presenter = presenter

    @Provides
    @ActivityScope
    fun provideModel(model: ForgetModel): ForgetContract.Model = model

}